#ifndef NODEINPORT_H
#define NODEINPORT_H

#include "Nodeport.h"

class AbstractShapeItem;
class xInMappingPort;

class NodeInPort :
	public NodePort
{
public:
	NodeInPort(xInMappingPort*, AbstractShapeItem*);
	~NodeInPort(void);
	void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *);
	QRectF boundingRect() const;
	int getClass();
	int getCategory();
	QString getPortValue();
	xInMappingPort* getInport();
protected:
	xInMappingPort* _inport;
	AbstractShapeItem* _parent;
	void mouseReleaseEvent( QGraphicsSceneMouseEvent* );
	
};

#endif
